<html>
  <body>
    <a href="/referer">Referer Servlet</a>
    <a href="http://localhost/referer" name="foo">Referer Servlet forced to http</a>
    <a href="https://localhost/referer">Referer Servlet forced to https</a>
    <br />
    <a href="/referer" rel="noreferrer">Referer Servlet (noreferrer)</a>
    <a href="http://localhost/referer" rel="noreferrer">Referer Servlet forced to http (noreferrer)</a>
    <a href="https://localhost/referer" rel="noreferrer">Referer Servlet forced to https (noreferrer)</a>
    <br />
    <form method="post" action="/referer">
      <input type="text" name="first" /></br>
      <input type="submit" value="Submit" />
    </form>
  </body>
</html>
